import request from '@/utils/request'

//分页
export function getTableList(data, url) {
  return request({
    url,
    method: 'post',
    data
  })
}

// 查看详情
export function getPaymentInfo(data) {
  return request({
    url: "currentaccount/info",
    method: 'post',
    data
  })
}

// 编辑
export function paymentEdit(data) {
  return request({
    url: "currentaccount/mod",
    method: 'post',
    data
  })
}

// 受理确认
export function check(data) {
  return request({
    url: "currentaccount/modforbatchcheck",
    method: 'post',
    data
  })
}

// 客户确认
export function customerCheck(data) {
  return request({
    url: "currentaccount/modforbatchcustomerconfirm",
    method: 'post',
    data
  })
}

// 发送客户确认
export function sedCustomerCheck(data) {
  return request({
    url: "currentaccount/modforsendtocustomer",
    method: 'post',
    data
  })
}

// 日志
export function log(data) {
  return request({
    url: "currentaccount/log/list",
    method: 'post',
    data
  })
}
